package Corejava.com;

public class arrayDemo {

	public static void main(String[] args) {
		
		int[] oneD = new int[31];
		for (int i = 0; i < oneD.length; i++) {
			System.out.print("-");
		}
		
		int[][] twoD = new int[3][3];
		
		for (int i=0; i < twoD[i].length; i++){
			
			for (int j = 0; j < twoD[j].length; j++){
				System.out.println();
				System.out.print("|" + " *" + "|");
			}
			
			System.out.println(i);
		}
		
		oneD = new int[31];
		for (int i = 0; i < oneD.length; i++) {
			System.out.print("-");
		}	
		
	}

}
